<?php
namespace Plu\Library\Models\Report\LogRecord;

use Phalcon\Mvc\Model,
    Phalcon\Db\Column;

class LogOperationRecord extends Model {
    public $Id;

    public $ModuleId;

    public $Type;

    public $UserId;

    public $Target;

    public $Result;

    public $Ready1;

    public $Ready2;

    public $Ready3;

    public $Detail;

    public $CreateTime;

    
    public function initialize() {
        $this->setWriteConnectionService('db.report');
        $this->setReadConnectionService('db.report.slave');
    }

    public function getSource() {
        return "OperationRecords";
    }
}

?>
